import { axios } from "@/request/request";
/**
 * 更新用户最新状态
 * @method loginByUsername
 * @param {String} username 用户名
 * @param {String} password 密码
 */
export const loginByUsername = (params) =>{
    return axios({
        url:"/login",
        method:'post',
        data:params
    })
}
